﻿using System;
using System.Linq;
using System.Text;
using SIE.SCADA.SqlSugar;

namespace Models
{
    ///<summary>
    ///SN工序对应表
    ///</summary>
    [SugarTable("scada_disprocess")]
    public partial class scada_disprocess
    {
           public scada_disprocess(){


           }
            /// <summary>
            /// Desc:
            /// Default:nextval('scada_disprocess_id_seq'::regclass)
            /// Nullable:False
            /// </summary>           
            public int id { get; set; }

        /// <summary>
        /// Desc:SN
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string serial_number_str {get;set;}

           /// <summary>
           /// Desc:工序号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? processno_int {get;set;}

           /// <summary>
           /// Desc:工序名称
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string processname_str {get;set;}

           /// <summary>
           /// Desc:开始时间
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? starttime_dt {get;set;}

           /// <summary>
           /// Desc:结束时间
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? endtime_dt {get;set;}

           /// <summary>
           /// Desc:用户编号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string userid_str {get;set;}

           /// <summary>
           /// Desc:用户名称
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string username_str {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           //public DateTime? ModifyTime_Dt {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           //public string ModifyUser_Str {get;set;}

           /// <summary>
           /// Desc:
           /// Default:CURRENT_TIMESTAMP
           /// Nullable:True
           /// </summary>           
           //public DateTime? CreateTime_Dt {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           //public string CreateUser_Str {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string remark_str {get;set;}

           /// <summary>
           /// Desc:
           /// Default:true
           /// Nullable:True
           /// </summary>           
           //public bool? IsEnable_Bit {get;set;}

           /// <summary>
           /// Desc:
           /// Default:true
           /// Nullable:True
           /// </summary>           
           //public bool? IsActive_Bit {get;set;}

           /// <summary>
           /// Desc:
           /// Default:false
           /// Nullable:True
           /// </summary>           
           //public bool? IsPhantom_Bit {get;set;}

           /// <summary>
           /// Desc:派工单号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string disidno {get;set;}

           /// <summary>
           /// Desc:工序编码
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string processcode_str {get;set;}

           /// <summary>
           /// Desc:状态
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? state_int {get;set;}

           /// <summary>
           /// Desc:物料编码
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string matid {get;set;}

           /// <summary>
           /// Desc:物料描叙
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string matdesc {get;set;}

           /// <summary>
           /// Desc:Mbom版本
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string mbom {get;set;}

           /// <summary>
           /// Desc:工艺流程
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string techprocess {get;set;}

           /// <summary>
           /// Desc:工艺流程版本
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string small_version {get;set;}

           /// <summary>
           /// Desc:计划工时
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public decimal workhour_num {get;set;}

           /// <summary>
           /// Desc:实际工时
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public decimal actualworkhour_num {get;set;}

           /// <summary>
           /// Desc:互检人员id
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string checkuserid_str {get;set;}

           /// <summary>
           /// Desc:互检人员名称
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string checkusername_str {get;set;}

    }
}
